package org.jeecg.modules.flowable.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.flowable.service.bo.Attr;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Title:  <br>
 * Desc:  <br>
 * Date: 6/16/22 2:05 PM <br>
 * Company: 联通（辽宁）产业互联网有限公司 <br>
 *
 * @author zxd
 * @version 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "FlowStartRequest对象", description = "")
public class FlowStartRequest implements Serializable {

    @ApiModelProperty(value = "事项实例ID，如果是被退回的事项重新提交，则把原事项实例ID带上来")
    private String matterInstId;

    @ApiModelProperty(value = "事项ID")
    private String matterId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "表单数据")
    private Map<String, Object> formData;

    @ApiModelProperty(value = "表单数据")
    private List<Attr> attrList;

    @ApiModelProperty(value = "表单标识")
    private String formKey;

    @ApiModelProperty(value = "表单内容JSON")
    private String formContent;

}